package com.shuwen.gcdj.bean.inspectionitem.requset;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author :yys
 * @date : 2023/5/9 17:33
 */
@Data
@ApiModel
public class AddTemplateReq {

    @ApiModelProperty(value = "三级部件名称",required = true)
    @NotBlank(message = "三级部件名称不能为空")
    private String structureName;

    @ApiModelProperty(value = "三级部件",required = true)
    @NotBlank(message = "三级部件名id不能为空")
    private String structureId;

    @ApiModelProperty("模板Id")
    private String templateId;

    @ApiModelProperty(value = "模板名称",required = true)
    @NotBlank(message = "模板名称不能为空")
    private String templateName;

    @ApiModelProperty("模板备注")
    private String remark;

}
